<div style="height: 4rem;"></div>
<div class="van-tabbar van-tabbar--fixed" style="z-index: 1;padding-top: 5px;">
    <a href="/" class="van-tabbar_a">
        <div class="van-tabbar-item  {if $base_url=='/'} van-tabbar-item--active {/if} ">
            <div class="van-tabbar-item__icon">
                <img src="/static/images/home.png" class="tab-icon"><!---->
            </div>
            <div class="van-tabbar-item__text">
                首页
            </div>
        </div>

    </a>
    <a href="/{$booklist_act}" class="van-tabbar_a">
    <div class="van-tabbar-item {if $base_url==('/'.$booklist_act) } van-tabbar-item--active {/if}">
        <div class="van-tabbar-item__icon">
            <img src="/static/images/index-menu-1.png" class="tab-icon"><!---->
        </div>
        <div class="van-tabbar-item__text">
            分类
        </div>
    </div>
</a>
    <a href="/history" class="van-tabbar_a">
    <div class="van-tabbar-item {if $base_url=='/history' } van-tabbar-item--active {/if} ">
        <div class="van-tabbar-item__icon">
            <img src="/static/images/index-menu-2.png" class="tab-icon"><!---->
        </div>
        <div class="van-tabbar-item__text">
            历史
        </div>
    </div>
</a>

        <a href="/{$update_act}" class="van-tabbar_a">
    <div class="van-tabbar-item {if $base_url==('/'.$update_act) } van-tabbar-item--active {/if}">
        <div class="van-tabbar-item__icon">
            <img src="/static/images/index-menu-3.png" class="tab-icon"><!---->
        </div>
        <div class="van-tabbar-item__text">
            更新
        </div>
    </div>
</a>
</div>
<a href="javascript:void(0);" onclick="$('html, body').animate({ scrollTop:0},500);">
    <img class="return-top" src="/static/images/return-top.png">
</a>
<script type="text/javascript">
    $(window).scroll(function () {
        var scrollTop = window.pageYOffset || document.documentElement.scrollTop || document.body.scrollTop;
        if (scrollTop > 300) {
            $(".return-top").fadeIn();
        } else {
            $(".return-top").fadeOut();
        }
    });
</script>